﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace UnitTestProject
{
    [TestClass]
    public class TestPerf
    {
        [TestMethod]
        public void TestCpu()
        {
            int cpu = ServiceHoloXia.Ordinateur.Instance.cpu;
            Assert.AreEqual(50,cpu,50);
        }

        public void TestRam()
        {
            int ram = ServiceHoloXia.Ordinateur.Instance.ram;
            Assert.AreEqual(6000,ram,6000);
        }
    }
}
